toggle menu
JxBrowser
8.2.0
jvm
switch theme
search in API
JxBrowser
/
com.teamdev.jxbrowser.ui.event
/
[jvm]KeyPressed
Key
Pressed
public
interface
KeyPressed
implements
KeyEvent
An event indicating that a keyboard key has been pressed.
Members
Types
Builder
Link copied to clipboard
public
final
class
Builder
A builder of
KeyPressed
.
Functions
key
Char
Link copied to clipboard
public
char
keyChar
(
)
Returns the character corresponding to the pressed key or 0 when a keyboard modifier such as Shift, Ctrl, Alt, Command, Win etc.
key
Code
Link copied to clipboard
public
KeyCode
keyCode
(
)
Returns the code of the key.
key
Location
Link copied to clipboard
public
KeyLocation
keyLocation
(
)
Returns the location of the key on the keyboard.
key
Modifiers
Link copied to clipboard
public
KeyModifiers
keyModifiers
(
)
Returns the keyboard modifiers applied.
new
Builder
Link copied to clipboard
public
static
KeyPressed.Builder
newBuilder
(
KeyCode
keyCode
)
Creates a new
KeyPressed
builder with the given required parameters.